.class Lcom/waiqin365/lightapp/chexiao/ad;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/product/view/e;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/ac;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/ac;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/ad;->a:Lcom/waiqin365/lightapp/chexiao/ac;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/db/offlinedata/s;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 10

    const-wide/16 v6, 0x0

    const/4 v0, 0x0

    move v2, v0

    move-wide v4, v6

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ad;->a:Lcom/waiqin365/lightapp/chexiao/ac;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/ac;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;->i(Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v2, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ad;->a:Lcom/waiqin365/lightapp/chexiao/ac;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/ac;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;->i(Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    instance-of v0, v1, Lcom/waiqin365/lightapp/product/view/CountView;

    if-eqz v0, :cond_0

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->e()Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    check-cast v1, Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->c()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v6, v7}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    mul-double/2addr v0, v8

    add-double/2addr v4, v0

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ad;->a:Lcom/waiqin365/lightapp/chexiao/ac;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/ac;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;

    invoke-static {v0, v4, v5}, Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;->a(Lcom/waiqin365/lightapp/chexiao/CXDFHWActivity;D)D

    return-void
.end method
